package com.neutech.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScheduleMapper {
    //根据科室查询医生
    public List<Map<String,Object>> queryDoctorByRoom(String room);

    //根据ID查询医生排班
    public List<Map<String,Object>> queryScheduleById(Integer id);

    //根据ID修改医生排班信息
    public Integer addSchedule(Map<String,Object> map);

    //删除排班信息
    public void deleteScheduleById(Integer id);
}
